﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DNhap.ascx.cs" Inherits="WebHousingInfo.Controls.DNhap" %>

	<div id="form_login" style="display:none;">
	<div class="loader">
		<div class="zme-boxy">
	        <div class="zme-boxy-container">
		        <div class="zme-boxy-title">Đăng nhập</div>
		        <div class="zme-boxy-body">
			        <div class="zme-boxy-content">
                        <asp:Panel ID="pn_error" Visible="false" runat="server">
				            <div style="padding-left:5px; text-align:center; padding-bottom:3px;">
                                <asp:Label ID="lblerror" runat="server" Text="Thong Bao Loi"></asp:Label>				    
				            </div>
				        </asp:Panel>
				        <div class="title_login">
					        <strong style="font-weight:bold">Tài khoản:</strong>
                            <asp:TextBox Width="200px" ID="txtUserName" runat="server" 
                                ontextchanged="txtUserName_TextChanged"></asp:TextBox>
				        </div>
				        <div class="title_login">
					        <span><strong style="font-weight:bold">Mật khẩu:</strong></span>
					        <asp:TextBox Width="200px" ID="txtPassword" TextMode="Password" runat="server" 
                                ontextchanged="txtPassword_TextChanged"></asp:TextBox>
				        </div>
				        <div style="padding-left:23px;">
					        <p>
                                <asp:CheckBox ID="chkLuumatkhau" runat="server" />
						        Ghi nhớ đăng nhập | <a href="QuenMatKhau.aspx">Quên mật khẩu?</a>
					        </p>
					        <p>
						        Chưa có tài khoản, <a href="DangKyTaiKhoan.aspx">đăng ký</a>
					        </p>
				        </div>
			        </div>
			        <div class="zme-boxy-footer">
                        <asp:Button class="zme-boxy-ok" CausesValidation="false" ID="btllogin" runat="server" Text="Đăng nhập" 
                            Font-Bold="True" onclick="btllogin_Click" />
				        <div onclick="hide_form_login();" style="line-height:20px; float:right; margin-right:25px; height:22px; font-weight:bold;" class="zme-boxy-button zme-boxy-cancel">Hủy bỏ</div>
			        </div>
		        </div>
	        </div>
        </div>        								
        </div>
	</div>	

<script type="text/javascript">
    function show_form_login(){
        $('#form_login').show();
    }
    function hide_form_login(){
        $('#form_login').hide();
    }

    $('#form_login').hide();

</script>
